package com.ruoyi.chy.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单信息对象 orders
 * 
 * @author liuweichao
 * @date 2025-05-30
 */
public class Orders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单序号 */
    private Integer id;

    /** 用户号 */
    @Excel(name = "用户号")
    private Integer uid;

    /** 核销号码 */
    @Excel(name = "核销号码")
    private String verificationCode;

    /** 核销图片 */
    @Excel(name = "核销图片")
    private String verificationImg;

    /** 服务编号 */
    @Excel(name = "服务编号")
    private Integer serviceId;

    /** 服务类别 */
    @Excel(name = "服务类别")
    private Integer serviceTypeId;

    /** 下单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderTime;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reservationTime;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private String carId;

    /** 优惠卷号 */
    @Excel(name = "优惠卷号")
    private Integer couponId;

    /** 实付价格 */
    @Excel(name = "实付价格")
    private Double price;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private Integer payStatus;

    /**  支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private Integer status;

    /** 逻辑删除字段，0未删除，1已删除 */
    private Integer deleted;

    /** 是否评价 */
    @Excel(name = "是否评价")
    private Integer evaluate;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setVerificationCode(String verificationCode) 
    {
        this.verificationCode = verificationCode;
    }

    public String getVerificationCode() 
    {
        return verificationCode;
    }

    public void setVerificationImg(String verificationImg) 
    {
        this.verificationImg = verificationImg;
    }

    public String getVerificationImg() 
    {
        return verificationImg;
    }

    public void setServiceId(Integer serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Integer getServiceId() 
    {
        return serviceId;
    }

    public void setServiceTypeId(Integer serviceTypeId) 
    {
        this.serviceTypeId = serviceTypeId;
    }

    public Integer getServiceTypeId() 
    {
        return serviceTypeId;
    }

    public void setOrderTime(Date orderTime) 
    {
        this.orderTime = orderTime;
    }

    public Date getOrderTime() 
    {
        return orderTime;
    }

    public void setReservationTime(Date reservationTime) 
    {
        this.reservationTime = reservationTime;
    }

    public Date getReservationTime() 
    {
        return reservationTime;
    }

    public void setCarId(String carId)
    {
        this.carId = carId;
    }

    public String getCarId()
    {
        return carId;
    }

    public void setCouponId(Integer couponId) 
    {
        this.couponId = couponId;
    }

    public Integer getCouponId() 
    {
        return couponId;
    }

    public void setPrice(Double price) 
    {
        this.price = price;
    }

    public Double getPrice() 
    {
        return price;
    }

    public void setPayStatus(Integer payStatus) 
    {
        this.payStatus = payStatus;
    }

    public Integer getPayStatus() 
    {
        return payStatus;
    }

    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    public void setEvaluate(Integer evaluate) 
    {
        this.evaluate = evaluate;
    }

    public Integer getEvaluate() 
    {
        return evaluate;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("verificationCode", getVerificationCode())
            .append("verificationImg", getVerificationImg())
            .append("serviceId", getServiceId())
            .append("serviceTypeId", getServiceTypeId())
            .append("orderTime", getOrderTime())
            .append("reservationTime", getReservationTime())
            .append("carId", getCarId())
            .append("couponId", getCouponId())
            .append("price", getPrice())
            .append("payStatus", getPayStatus())
            .append("payTime", getPayTime())
            .append("status", getStatus())
            .append("deleted", getDeleted())
            .append("evaluate", getEvaluate())
            .append("uid", getUid())
            .toString();
    }
}
